﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace UtilsORM.MySqlData;

/// <summary>
/// 设备
/// </summary>
[Index("l_guid", Name = "idxlcguid", IsUnique = true)]
[Index("l_add_time", Name = "l_add_time")]
[Index("l_l_guid", Name = "l_l_guid")]
[Index("l_lc_guid", Name = "l_lc_guid")]
public partial class iot_device_linkage_condition_log
{
    [Key]
    public long l_id { get; set; }

    [StringLength(50)]
    public string l_guid { get; set; }

    /// <summary>
    /// iot_device_linkage_condition
    /// </summary>
    [StringLength(50)]
    public string l_lc_guid { get; set; }

    [Column(TypeName = "datetime(3)")]
    public DateTime? l_add_time { get; set; }

    /// <summary>
    /// iot_device_linkage
    /// </summary>
    [StringLength(50)]
    public string l_l_guid { get; set; }

    [StringLength(255)]
    public string l_remark { get; set; }
}
